Fix problems with SNTP support;