Run ./configure as a pre-compile hook