A few fixes to compile under OSX (Yosemite)
PortAudio perfomrance is poor, need Core Audio port