Not sure if there is an easy way to do that; you might consider to politely ask Rom for source codes and compile everything yourself. BTW, gd2 is enable in wamp2 by default
Have fun,
FREE One A DayFREE PhotoFREE GamesFREE WebsitesFREE Portable GPSFREE WAMP Guides