Fixes for building static binares on OSX
Restore environment at the end of installation
Merge branch 'master' of github.com:treangen/metAMOS