Fixed windows native compilation