modify configure script