added C mpc examples and safeguards against unavailable features