new prereq logic

Conflicts:
	Makefile
	avl
updating submodule ref