fix: repair misconfigured cmake build directories
Sometimes IDEs like VS Code or QtCreator can change important settings in the cmake build directory which are not restored with a simple rebuild_cache (e.g. wrong build type or install prefix). To fix such problems, a full re-configuration with all cmake paramters is now done instead of the rebuild_cache run.