Python fix for function casting.
Set sandbox to any cpu.