UE4+Flex error on packaging | Failed to produce item: UE4-Flex.lib

just incase someone got the same error and is searching for it. I found the solution here: https://github.com/NvPhysX/UnrealEngine/pull/523