Fixed OS check in Thread.h and Thread.c to properly check for __APPLE__ to detect OS X.
Merge pull request #42 from codyrioux/master

Fixed OS check in Thread.* to properly check for __APPLE__ environment.