clean up example build
force source/target compatibility to jdk 1.6 in build
use Fields#appendSelector