Fix compile problem on gcc 4.8.1