Fix libmng's patches
Remove unnecessary env var from libmng