debian/rules: pass --as-needed to configure.