fixing configure script