Fix for missing CGDirectPaletteRef in 10.9 for Wine 1.6.

Finally got a work out.
Refs to:
https://github.com/mxcl/homebrew/issues/21552
http://bugs.winehq.org/show_bug.cgi?id=34162