replace links with modifying PATH - fixes homebrew problems on osx