Fix compiler warning with XCode. Thanks Matthias