fix to windows headers/includes, small change to terraintile