Link with rt lib if it exists