Added support for libetc