Fix WAR overlay module dependencies.