Fixed bug in setup for windows