workaround for commandline matlab compiling