Fix a few defines in main.h and version.h