BUG: Fix so aoslib can compile with mingw

Fixed temp_of_te.c so that file can compile with mingw on Windows.