HRCPP-141 C++ client - protectect against calling cmake from the source ...

...directory

https://issues.jboss.org/browse/HRCPP-141