build: switch_main needs -lrt on Debian

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #3 from euanh/master

build: switch_main needs -lrt on Debian