ENH: use the second way. add -DMATLAB_MEX_FILE