Fixed bug with finding makefile_engine