Fixed build logger pid detection for process logging to /buildlog
on the machine running the job