Fixing broken check for MAKEFILE_PATH.