fix linking with -lcudart, should also include -lrt
Merge pull request #882 from boegel/cudart

fix linking with -lcudart, should also include -lrt