Got parsing of arbitrary lib directories working.