compiles under Xcode 6

Hi Claus
This fixes some compilation errors on your amazing project in Xcode 6.
Thanks for developing this stuff :-)

Greetings from Zurich,
Daniel