compile and example ant fixes