Move make thumbnailing to preBuild