Merge "lib: porting zlib inflate library to master branch"