Compile with OS X 10.10

Fixes the OS X version detection regex to allow compiling under OS X
10.10+.

I'm not sure it doesn't break anything, but it works fine for me.