Fixed setup script for newer windows versions