Fix broken mcs build