fix for a bug in gcc that won't let rapidxml compile on clang