windoze compile fix