Don't call pkg-config with blas/lapack if they are already found in the system.
If maos is linked with refblas reflapack, the performance will be terrible with a single
effective thread.
Use A==A to verify A is not a nan, which is faster than isnan(A)