Fixed problem where EAP_TOOLS_DIR environment variable was not being used.