fixed cmake for linux