Enabled cmake policy to get rid of warnings.
Enabled cmake policy to get rid of warnings.

Added flags to be able to build release version on OSX.

apache/celix,apache/celix,apache/celix,apache/celix,apache/celix,apache/celix