cmake: fix for linux compile