Fix GCC compiler warnings