use c++11 for ios clang; additional fix for #234
Merge pull request #516 from cliffjao/clang_ios

use c++11 for ios clang; additional fix for #234