halt on libpng build error
more halt-on-error fixes
use older version of libpng

this fixes issue #20
Merge pull request #19 from albertz/master

halt on build error and other fixes. Thanks @albertz !