Make sure Release versions of examples get built by default.
To avoid conflicts, put the subdirectory example executables in the binary subdirectory rather than at the top. On Unix systems the executable was conflicting with the subdirectory of the same name.