Fix string monkey patches for build