fix path error in Cocoadension and libpng