recursive delete of folder content

1. Added recursive delete of folder content
2. Fixed broken unit tests (system dependent)
3. Cleaned CMakeLists.txt from unneeded dependencies