Modify configure and librarys.