build: switch_main needs -lrt on Debian