C++ fixes for old gcc (SLE_11, RHEL-6)

was broken since 2d2e16a8
Merge pull request #63 from rudimeier/fix-old-cpp

C++ fixes for old gcc (SLE_11, RHEL-6)