Use openblas in the linking.  Do not link to luajit, as there are some problems