Link with -lrt

Change-Id: I1628328aefc8c97e70145c53f50734084f3bdaf7
Reviewed-on: http://review.couchbase.org/28662
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>