PIE patch for beanstalkd