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

...irectory

https://issues.jboss.org/browse/HRCPP-142