Fixed NSColor compatibility for deployment targets inferior to 10.8.