diff --git a/buildout/buildout.cfg b/buildout/buildout.cfg
index 83a9dc529d6c45a48ec44e52390e811d01a5fb81..652d6b44522dc1b11fb721544f1a6780babc5b37 100644
--- a/buildout/buildout.cfg
+++ b/buildout/buildout.cfg
@@ -5,3 +5,4 @@ extends =
   profiles/development.cfg
   profiles/official.cfg
 unzip = true
+ignore-existing = true
\ No newline at end of file
diff --git a/buildout/profiles/official.cfg b/buildout/profiles/official.cfg
index b8eed04979f00e69936a2a0114be1b4fafc35b3a..9841bf043a8b576a7bc6f5e4547e89ddaf4ee2e1 100644
--- a/buildout/profiles/official.cfg
+++ b/buildout/profiles/official.cfg
@@ -94,6 +94,7 @@ python = buildout
 # This is first version of python
 version = 1
 section = python2.4
+developer-mode = true
 
 [software_definition]
 software_home = ${buildout:directory}
diff --git a/buildout/software-profiles/python-2.4.cfg b/buildout/software-profiles/python-2.4.cfg
index 6e0ba07f0e25c7d4fb1f151361aec7ca790998b3..50ffc64ecfe58f12d1a450c9b1bf5c5c81312aaf 100644
--- a/buildout/software-profiles/python-2.4.cfg
+++ b/buildout/software-profiles/python-2.4.cfg
@@ -20,6 +20,20 @@ md5sum = 8611020af1463b42f253ac73a91b09a1
 download-only = true
 filename = python2.4-dbm.patch
 
+[python2.4-no_system_inc_dirs-patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+md5sum = 65c1193ac42c15109be0e6f9b7a671b8
+download-only = true
+filename = python2.4-no_system_inc_dirs.patch
+
+[python2.4-CPPFLAGS-patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+md5sum = 912b6d4b107e3f382995a4d3afcd3eca
+download-only = true
+filename = python2.4-backport-CPPFLAGS-setup-from-python2.6.patch
+
 [python2.4]
 recipe = hexagonit.recipe.cmmi
 # This is actually the default setting for prefix, but we can't use it in
@@ -36,6 +50,9 @@ url =
   http://python.org/ftp/python/${:python_version_full}/Python-${:python_version_full}.tgz
 patches =
 	${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename}
+        ${python2.4-no_system_inc_dirs-patch:location}/${python2.4-no_system_inc_dirs-patch:filename}
+        ${python2.4-CPPFLAGS-patch:location}/${python2.4-CPPFLAGS-patch:filename}
+
 configure-options =
   --enable-unicode=ucs4
   --with-threads