install polymode from MELPA rather than git