Compile with OS X 10.10

Fixes the OS X version detection regex to allow compiling under OS X
10.10+.