Added API function to get lib version