Fixed build errors on OS X, when ant is run from a location other than build/macosx

This should fix this issue: https://github.com/processing/processing/issues/2127

I used a File instead of a String for the icon, just like it's done in AppBundlerTask. This way a correct file path gets passed in, instead of relative path that works only from build/macosx.