Updated pre-install to prefer PWD but fall back to getcwd() if needed
Merge pull request #20 from jmfee-usgs/fix_preinstall_on_windows

Updated pre-install to prefer PWD but fall back to getcwd() if needed