Fix emacs build. move patches -> files to tidy it up a bit