Only export PATH on OSX

Cleanup unused lines.