Fix upsclient link after rebase
Fix compilation on Windows