Add libs get task for ant. Remove compile error.