add *_DISABLE_DEPRECATED to CFLAGS