Fixing various build issues
Adding config.h to .gitignore