Add G_BEGIN_DECLS and G_END_DECLS to generated header