make gccfilter work correctly