More fixes for Jenkins in build.xml. Fixed compile issues in left, main, and right.