dedserv/unitsync: reduce linkage to just winmm