working on mex makefile