Updated configure script