add support for windows daemonization