Fix building on GCC 4.6.