Finally cmake config that works