Fixes cmake so examples build.