Make RDKit build more portable