Using sed to replace the necessary string as patch is not available on build bot.