Fix compilation for GCC 4.7