fix the location of the libgd vapi dir. fix gtk+-3 dep.