apple fix
fix version check
hopefully final apple fix
Merge pull request #1 from hannob/master

Pull in latest changes