fix for zipimporter doesn't have path; moved fix osx path to env