Fixing boost bugs in cmakelists.txt