Implemented change log, fixed build for OS X, not tested for Ubuntu and SuSE