fix function reference
remove link to lapack during compiling