updates CMake project:
 - cleanup
 - use system libraries