bugfixes for lapack on ARM Platform