Fix Xcode 5 warnings.
Merge pull request #102 from wlue/master

Fix Xcode 5 warnings.
Fix only building active arch in debug.
Merge pull request #119 from square/kve/fix-building-only-active-arch-for-debug

Fix only building active arch in debug.