fixes to .osx and brew.sh