time_t need time.h
change include path
Fix dllimport related
fix compile error on mingw-w64