fix xml writer for boost 1.56+