Fix setting RAPIDXML_VERSION

Turns out if pipe the output of a function, then exported variables
aren't exported. So fix that.