Check if librt exists independent of OS, to be able to exclude librt on Android builds, even though it is a 'Linux'.