Use SYSTEMTIME instead of struct tm

Delete wintime.c now that ltime is not used