Fixed compilation && updated mknetwork submodule