Make it work with homebrew libgd2 and linux

Fixes the error:
dyld: lazy symbol binding failed: Symbol not found: _gdImageStringFTEx
  Referenced from: /usr/local/lib/libgd.2.dylib
  Expected in: flat namespace
bump version to 0.0.3.1