Fix compilation problem in GGTS
- 2 optional arguments with default values seems to cause problems
- add different method for instantiating factories with arguments