Make the basic configure infrastructure work correctly

Makefile.global is correctly generated at this point.