fix build with GCC4.8