remove #undefs in mkobj.c