Executing CMake now from project base directory instead of build directory.
Removed --use-analyzer, as it is not available for all scan-build versions.