cmake: fix on server