Change the order of the clapack libraries because of some compilation errors.