modify emacs-setup.sh for manual build
modify emacs-setup.sh for Desktop edition

this is also enable for Server edition