Taking care of symbols defined in qmagic.c