Fix GCC warnings about initialization order