Added 64-bit support.

To be able to do this, I updated the code to work
with more recent versions of the APIs. The synth
now builds on OS X 10.8 with Xcode 5.