Fix some GCC specific warnings