Compile with OS X 10.10

Fixes the OS X version detection regex to allow compiling under OS X
10.10+.
Merge pull request #49 from delehef/master

Compile with OS X 10.10