Fix OSX brew and port checks and path sets