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 #302 from kkoopa/master

Patch for Node 0.11.3
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.
Revert "Fixed Error that prevented NPM install on mac."

This reverts commit 92d8e84a6d5644e445f5a16242413f4fcb1d9545.

incorrect