`filter` extension does not leave any traces in php_config.h yet can be disabled with `--disable-filter` (this will be very untypical though). The only reliable way to check whether we can use the native filter API is to check for the header.