set max OPENBLAS threads appropriately during cross-compile. fixes #2124