[server] Fix build error

Sorry, I didn't check building tests in previous commit.