added fallback for case where posix_uname is not available