Fixed devenv script and dep handling in mkmk.