fix for openfoam when building without 3rd party tools