Fixed compile error with USE_SERVER_EXTRAS off