Version resource fixes

Various fixes regarding versioning
Update gitignore file to filter build files