Fix mac build instructions and the makefile.