ide: use BIT() macro for defining bit-flags