Critical fixes

Fixed a mis-typing bug with library installation.
Fixed the decompression routine.