Configure fails to detect libgd when the library uses only pkg-config and not gdlib-config
Compiling in Solaris