Adding gd useflag for glibc and php