Fix gd extension