Fix compilation on gcc 4.8.1