Modify for accepting user compiled lapacke