Open issues:
check for re-entrancy of the WIN32 version of lutil_gettime()
allow apps to use gmtime(3)/localtime(3) in re-entrant manner when the
_r replacements are not available (the mutex is no longer exposed)
- add function checks to configure.
p.