for personal use only ( and added some useful commands in makefile ) to install library on mac easily.