fix path
don't set -stdlib in CXXGLAGS
pass filter_type by r-value