Fix Eclipse project build errors by customizing generated files