Set global variables to extern in header netgen.h