fix xml cleanup for boost 1.56+