Implement bits needed for gcc and perl to work in installfilter.c