Make the cmake errors easier to debug