cmake: fix linux build