Fixed a compiling error in the Server.Core