Add partial support for deploying on OS X