isolate the mapscript environment, provide a custom require() without C module loaders