Fix GCC error/warnings.