ProcessorSelector: replace building method with inner class

Much cleaner, and much more readable. And it achieves the same.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>