Added WITHOUT_DMSG compile option.