Fixed Error that prevented NPM install on mac.

NPM spat out a error that there was only 2 params in DGIFOPEN. I added
the third, an error interger.
Merge pull request #270 from matthewborden/master

Image.cc error when compiled on OS X, fixed but needs to be merged to the NPM repo.