Fix compiling on gcc-4.7.3