Fixed makefile generation for OS X.
Fixed unzip command for OS X.