Find lib from variable or local file.  Closes #5