fix compile on osx (consistent handling of xml2 header location)