Hardening/compiler to concatenate

### Description
Use the compiler for the string concatenations that the compiler is able to do.
Old pdihub issue number 50