If CUDA or OpenCL is not being built, default to not building the corresponding plugins
Merge pull request #692 from peastman/cmake

If CUDA or OpenCL is not being built, default to not building the corresponding plugins