random changes to support homebrew and other stuff. what a commit message!