Fixes the build for gcc.