[build] Automatically checkout latest changes in submodules