update copyright
fix crash on iOS 5.x
change compiler to Clang