Fix build of submodule