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 anythin, but it works fine for me.