Refactor osx check
Oops
Only amend gnubin path to $PATH if on osx