filter gcc shlibs for pkg