link to openblas and not blas

I only did minor testing with petsc and it fails to link against petsc. I don't quite understand how the petsc package works to get openblas accepted as blas alternative for petsc.