Update project settings, codes, etc to build with Mac OS X 10.9 and XCode5

I've confirmed that I can build without build warnings.