added build script to handle submodule