Begin of vst support for mac.