Fixed CMake MEX generator