Handle variations of header macro

Fixes Issue #0000532
http://bugs.librdf.org/mantis/view.php?id=532