small bug fix related to automatic MEX build script and Simulink exported interface