Only require the library to load upon task execution.

This avoids every grunt execution to request libgd binaries.
Merge pull request #4 from opichals/on-demand-lib-require

Only require the library to load upon task execution.