Updated server side code to be compatible with windows installations.