Windows support: make python-daemon optional and use setuptools' entry points