HRCPP-142 C# client - protectect against calling cmake from the source directory