Make code compile with GCC