Should fix #24 where the cmakefile doesn't report errors as it should