fix: MacOsX does not have POSIX1b librt