Fix env handling in MakeTargets (fixes HttpParser build script)