making the installer work for OS X and Linux