CMake: fail if dependencies are not present

The user experience is dramatically improved if we fail at
configuration than at linking.
Merge pull request #153 from toxeus/failCMake

CMake: fail if dependencies are not present