targetType has to be sourceLibrary to compile correctly with sdc