fixed makefile for mcs