Cmake file changes to support ios, still more work to do