Added Flex framework version recognizing and SWC dependencies from m2.