Fixed GCC compiler warnings