Set the install location.
Fixed some build bugs.

I silenced a useless warning and added libz.dylib to the linkline.
Minor formatting change in the README.