Fixed up replaceAll call for latest version of stable Fost libraries.