Fixed the compile errors with ac-server-client