Attempt to fix the build on gcc 4.6