fixed bug when calling relatiuve configure script