Fix build error -- right libgd package is libgd2-noxpm-dev.