Make librt optional, required for at least OpenBSD

With this patch libxkbcommon passes all the tests on OpenBSD 5.6.