Suppress deprecation warnings when building attr and libattr