Update submodules and fix compilation.