fixed color problem on MacUnitTest
Implemented #ifdefs for OS_OBJECT_USE_OBJC

from iOS 6 and OSX 10.8 GCD objects (like semaphores) use ARC, this compiler flag adjusts the code based on whether or not the current minimum OS supports it
Fixed deprecated truncation constants

as of iOS 6.0 they have different names. There is a new function to convert to eliminate build warnings