fix win32 build - don't link libm on doze