Add libgd dependency to allow compilation of multidisplay.