windows fixed

windows build compiles, needs more project fiddling to be nice.