Adapt the OneMax example for DEAP 1.0.