Commented out python hooks to facilitate compilation on 12.04