HRCPP-96 Do not overwrite CMAKE_CXX_FLAGS but set specific target properties

https://issues.jboss.org/browse/HRCPP-96