Check for both headers and libs before making test prog

Previously, it was assumed that the project was available if only the
libraries were found (either by full compile, or by package).
Merge pull request #144 from rolk/0144_ert_notfound

Configure complains about errors in CMake file if ERT library is not found