set in front of setnv for windows
Revert "small ant fix for windows"

This reverts commit bc8f3db3e57241fb92b14f4ea81d424d4f7a7576.