snapwatchd: Fix compilation errors on xenserver-core

Signed-off-by: Euan Harris <euan.harris@citrix.com>