Fix building syncthing on darwin host
Merge pull request 97 from Zillode/darwin.