Add remove target for atdgen

This is to fix an issue when I was upgrading opam from
opam 1.1.2 to opam 1.2~beta4. See #2535.
Merge pull request #2544 from amirmc/atdgen

Add remove target for atdgen