Updated gitignore

Ignore vim comment files, and the build folder (for out of source
builds)
Removed vim swap file

This was an accidental upload.
Fixed gitignore, made makefile cross platform.

Fixed gitignore to actually ignore vim swap files.
Cross platform makefile

The mkdir step, should now work on all platforms.