EASY!

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

 

That's it. You can now install ffi 1.5.