xcode6 compatibility
Merge pull request #7 from pzgz/patch-1

xcode6 compatibility