Handling of boas and lapack osx