Added fixes to python 2.4.6 compilation recipe

Hi yyuu! I added theses fixes to compile python 2.4.6 into ubuntu 13.04 box, could you please review / add the fixes?