scala compile tweaks for emacs