Add modtime implementation for mingw