libpng conditional compilation