Fix broken console build