TextToSpeech_macx: fix 10.4 compatibility.

Remove @property and @synthesize to make the
code work on 10.4.

Also import AppKit.h to fix the build when
building without PCH support.