Update miniz, change compression levels definitions, fix some compilation errors