move midgard dep up to the top after c++x11