Fixed bug with finding makefile-engine

Fixed little bug with finding makefile engine.