seba bugfix for clang/clang++ compilers
mmams bugfix for clang/clang++