bugfixes for ARM regarding lapack tests