Fix compilation error and ProcessingMessage checks

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>