Global var declarations needs to be in .c files to avoid having them in several .o files. So they need to be declared as extern in .h files if needed. This was already the case for other vars. Related to issue #36