Build with javac from file list, fix macos packaging

 - the file list fix should solve the problem of "too long" command
   lines when calling javac
 - macos packaging would not have been bundling correctly. Theoretically
   it is now