Clean up Makefile and add packaging script.