adapt cmake file to new boostbook version
Merge pull request #917 from andreasbuhr/fix_full_path_in_documentation

adapt cmake file to new boostbook version
Implemented wait_any_swapped.

See #903