check if -lrt compile is successful