Allow multiple lib directories to be passed (bug fix)

Previously, there were some validation checks on the input that was expecting only a single lib directory. This now loops over multiple after splitting the input on a comma