Fix cmake for examples