Update configure from Psi+ project.