XCode6 compile support.
Merge pull request #5 from fusijie/master

XCode6 compile support.