Fix compiling warning in GCC