revise configure parameters to solve libpthread error