add lib directory (required by Rails engine)