make sntp client compatible with IAR