Apparently clang doesn't like static variables / functions being accessed called from inline function (-Wstatic-in-inline). This commit results in the same binary being generated while making clang happy.