Moved osx functions to bash dir.