fix server compilation