Made the configure script QMUL compatible