don't use EMACS environment variable

The EMACS environment variable is usually defined by tramp to the value "t".
Replace the variable name with EMACS_BIN to avoid build failure.