Added string.h in png.cpp. Needed for memcpy.