Fix the environment variables to be executed correctly from 32-bit ruby process.