Fixed some warning with gcc