Removed BOOST dynamic flag.
Not sure if it is needed I usualy configure my build by setting cmake options and then boost will set its own compiler flags?
If not perhaps make it optional since I at leasst build a static library.