Adds host specific module loading

If platform is Darwin, load the osx module
If platform is Linux, load the dpkg module