Don't link rt library in Mac OS X

librt (POSIX.1b Realtime Extensions library) is not available in Mac OS X,
thus it should not be linked.
Merge branch 'release/0.4.2'