Fix GCC warnings