Also some minor tweaks: There didn't seem any need to use -O0 optimization level anymore. Also the option "with-libpng" should have been "with-png" all along.