fix misleading warning message about gd.h header