Fix compile problem in Server and Connector.