fixed Server.cpp compile errors