add rdkit for linking in static (#5403) Fix master ninja release_static build so that it includes rdkit and can compile.