fixed GH# 116, clang fixes, new iOS build configs