Allow to add extensions on multiple target
fix cs
Merge pull request #1243 from tyx/dev/extension-multiple-target

Allow to add extensions on multiple target