configure script to generate Makefile