Add -lrt (librt) option to avoid linker error on travis.