Matlab compile script
Fix compilation on Linux