Updating cmake infrastructure.

Updating `FindCheck.cmake` module and `test/CMakeLists.txt` to
successfully run a Check unit test. However, the current approach to get
this to work seems very hack-tacular.