fix build of plugin with ant