buildfixes for windows
handle missing snprintf on windows in dltlc