Adds git ignore, which is suitable for linux build at least, closes #1023