Fix gamelogic compilation