XCGame: Fixed build errors