missed a library flag for linux mex