Avoid hard-coding libpng location.