fixed sleep issue for cmake version less than 3
fixed tests for nix
Merge branch 'devel' of https://github.com/toeb/oo-cmake into devel