More crossplatform ant script, ignore build artifacts and tmp files.