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

ruschelp/cortex-vfx,ruschelp/cortex-vfx,ruschelp/cortex-vfx,code-google-com/cortex-vfx,code-google-com/cortex-vfx,code-google-com/cortex-vfx,code-google-com/cortex-vfx