Support Mac OS X in Makefile

* gcc and clang both works.
* make install works.
* support PREFIX and HOST.