Allow multiple lib directories to be passed (bug fix)

Previously, there was 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
Merge pull request #3 from DominicWatson/multiLibDirs

Allow multiple lib directories to be passed (bug fix)