Cleanup path manipulations under macOS/Linux
d4e9860
Path manipulation has been changed from using '/' to using os.path functions for packaging code for macOS and Linux targets.