fixes everything but the lapack error on windows