fix copy and paste error _lib vs _exec

In add library it was adding properties to _exec instead of _lib