Fix compilation for gcc 4.9.1 on Linux