Adds possibility to exclude examples from build.