Fix .gitignore stupidity and add missing third party dependencies