Workaround ant movedir bug.