fixed configure script