more explicit includes and stuff, to make better for wintendo
add windows cross compile support