Backport 1.7 4022 3996

Backport #3996: `Allow checking two or more fortran compilers instead of one.`
Backport #4022: `cross-platform code to find numpy config`