Add the contents of libpng 1.4.2 folder to the directory lpng142
http://sourceforge.net/projects/libpng/files/libpng14/older-releases/1.4.2/lpng142.zip/download