add 'compile-examples' target to build.xml