Add openblas flag and if/else for extra-libraries

Adds the openblas flag and the changes to support the libraries.  Both blas and lapack are in there, so if its used, then those two shouldn't be included.  I have openblas installed in /usr/lib/openblas per recommendation by the developers.