allow lib path to be passed as an arg.