fixes to PrepareBuild target.  Ant didnt seem to like the idea of copying a folder if it had no files in it