Fix protocol compiling in build.xml