[BACKLOG-1222] -- moved global deps into define call for optimization code
Merge pull request #329 from krivera-pentaho/master

[BACKLOG-1222] -- moved global deps into define call for optimization co...