fixed mex makefile