switch to dynamically-linked version of libpng