HPCC-12149 Add back in call to record a library used by workunit

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>