[darwin] - fix compilation with xcode6

As the title says - thx to @linusyang