Remove scripts and add build and env targets to Makefile.