Fix GCC compatibility