I didn't know there was a change the base dir wasn't build/lib but in this case we might as well just iterate over the outputs instead of the inputs