working on mex compilation on windows