Fixed incorrect #ifdefs relating to msxml