Fix no -rt library on darwin.