Fix WIN32 service working