Made compiling with current clang

My build setup with xcode6.1/ OS X 10.10 was not able to compile the project anymore, this fixed it (works also with xcode6.1 / OS X 10.9)