Portability

- Now uses POSIX mktime instead of timelocal calls.