Fix build against 2.6.32