Fixed the bug about testing the exist of lapack tar package.