Fix bug when not compiling with xml support.

Compile on Cygwin O.K.