Fix building with GCC 4.8