ASDocGen Flex SDK detection fix