Use G_BEGIN_DECLS instead of __BEGIN_DECLS.

__BEGIN_DECLS isn't available in mingw-w64.

This commit licensed as MIT/X11.
[CI] Add Appveyor.yml build configuration file

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>