You need the UE4-specific version of SpeedTree, which is available as a subscription.
http://store.speedtree.com/product/speedtree-for-ue4/