cmake (support for older boost version), tests and clean