added configure script to generate Makefile