Improved Makefile to allow incremental builds.