Better lib directory creation.