Fixing RegisterLibrary issue.
Updated version.