adding submodule check to makefile