fixed makefile to work with changed to ld, added libboost_system to link
arguments
added cmake solution, works on linux for now.