Get rid of matchfinder_common.h and manual memsets