Fix compiling error for mex routines.
Merge branch 'devel'