build: move cmake and make exe checking to instantiation of cmake and make command objects