windows compile

now it compiles under windows, but it wont rn correctly, will fix this
later