Fix executable permissions problem, fix unlink
fix errors on basic brew install; start ripping out Mac-specific stuff