Fix compilation issue under Cygwin

As requested, this pull request is to accommodate the change to allow for tinyxml2 to compile under Cygwin.