Fix compilation on Win32.

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>
Add gsetting schema for 'enable-shutdown'

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>