Changed the windows build method.