Fixing build on gcc 4.6