fix build on farmanager server (wine)