added limited Windows support for running server