I managed to fix the plugin by user ideoservo mentioned here https://github.com/ideoservo/FliteTTSPlugin
Download link: https://github.com/codenicks/UE-Flite