Fixed Windows ports for new Wand directives