Rename header guard defines to not use c++-reserved names

* as pointed out in issue #842
adjust names to match other header files