Fix OS X errors with color curves