fix build on gcc 4.8