Fixes #57 (UIImage vs. NSImage for OS X)
Merge pull request #59 from mapbox/issue57

Fix for #57 (UIImage vs. NSImage for OS X)