Successfully compiling with libpng in Windows but there is a memory access violation while running...