fix directory and binary submodule references