Added configure and updated Makefile.