fix altermap-agent default url
compile a reghack with host CC to enable cook-time patching