fix swift compatibility
Merge pull request #5 from RetVal/master

fix swift compatibility