Move attribute filters to src/libmettle, since they don't make sense for header-only builds