Replace CLAPACK/F2C from numpy by own selection