added making static libgd