after numpy updated to 1.26.1 distutils no longer provides the lib locations so use env vars for non-darwin. On darwin Accelerate library is prioritized over BLAS so add Accelerate to buildInputs.