targetType has to be sourceLibrary to compile correctly with sdc
Merge pull request #13 from UplinkCoder/patch-1

targetType has to be sourceLibrary to compile correctly with sdc
Templetazied ForeachStatement