fixed for building on win