Possible solution for wildcard args when generating the .g4

Since arg value does not like wildcards on non windows machines, turn it first into a fileset and then flatten it into a args line.
I do not know how this would work on Windows, but it seems to allow the build to continue on OSX and Linux.