Fix MapManager builds