Fixed link errors when compiling macosx binaries. These link errors were related to the Objective-C code used to determine the OS version. (#82)