[agent] Fix patchDefine to handle multiple backbone candidate modules
Merge pull request #84 from jasonLaster/fix-define-patch

[agent] Fix patchDefine to handle multiple backbone candidate modules