Update service.h

include cstring for windows