os_type unix soname_suffix "so" clock_gettime gettimeofday posix_mlock gmtime_r dlopen readdir threads filesystem