Expand bit the detection of makeflags and put there simple test.