Fixed configure script