COMP: Fix OpenCV compilation issue for gcc 4.4.7

OpenCV has issues with gcc 4.4.7 when some options are turned on.  Resolved
this by minimizing the components of OpenCV that are built, and adding a custom
patch to OpenCV.
ENH: Fix ReferenceAtlas installation testing.