Fix to enable the server to work on Windows

Changes made as per: https://github.com/geminabox/geminabox/pull/129