Add #include config.h
Remove custom VERSION macro

to avoid conflict with the VERSION macro in config.h
Replace custom #define bool with stdbool.h
Removing auto-generated files

According to this Stackoverflow post, one should not keep any files in a SCM that are not hand-edited. So, these automatically generated files should not be kept in git since they can be automatically generated