Unrar using shared library template