add one line to remove trailing slash of DIR

if used make install DIR=~/.emacs.d/, then the original install process will produce something like this:
(add-to-list 'ac-dictionary-directories "/Users/oxnz/.emacs.d//ac-dict"), this one line patch is to fix this problem