Use the log compiler from $srcdir
Drop excessive srcdir
Grab the agent pid