a few tweaks

- require cmake 2.8.11 in utility functions
- optionally use 2.8.12 target_compile_options
- fix inclusion of objective-C code.