Fix compilation errors for GameKit (#289)