Fix building with GCC 4.6