Made configure a dependency on the main Makefile.