added new plugin API for LZMA
updated aplib to new API