a few changes needed when actually building on windows for the first time