configure.ac: add OpenCV explicit checks at configure time

This fixes #6 on Ubuntu 12.04 LTS.  Closing #8 as this supersedes that pull reqeust.