**Describe the bug** Trying to use a foreign-library field in a buildinfo fails the config step **To Reproduce** Add a buildinfo to a project like ``` foreign-library: testlib cc-options: -I/opt/local/include/ ``` ``` $ cabal v2-build ... ... Unknown field: "foreign-library" ``` **Expected behavior** HookedBuildInfo should support all the targets in a PackageDescription **Additional context** Similar root issue to #2932, reverted fix #3627 **Workaround** Put extra flags into a file like `testlib.bi` and add a hook to manually parse this file and update the PackageDescription