Add Emacs backups to gitignore
Fix build on MSVC