Fix osx patch.
Add accurev to env.