fix checking for ntpdate before using it