Fixes for problems encountered in snow leopard build.
Fixes for problems encountered in snow leopard build.

tectronics/cortex-vfx,Alwnikrotikz/cortex-vfx,Alwnikrotikz/cortex-vfx,AlanZatarain/cortex-vfx,AlanZatarain/cortex-vfx,Alwnikrotikz/cortex-vfx,AlanZatarain/cortex-vfx,tectronics/cortex-vfx,tectronics/cortex-vfx