Create lib directory if not present
Signature changed in vector constructor according to the minimum surprise principle