client runs on Windows (mainly linking fixes)