Fix vips to use stdlib for getenv. Only issue heartbeat every 200 iterations.