Fixed issue with NSColor api missing in Lion