battery package updated
lzma reindroduced for static linking on osx