Fix Clang and GCC builds.