fix T_STATIC warning for 1.7