Adopted for compilation on 10.9 SDK

1. Changed SDK to the latest on all targets
2. Ignoring format security warning