fix build failed on gcc-4.9