Add a test that we are passing the -fobjc-default-synthesize flag for Apple and
non-Apple platforms.