modified build script for xml module