We have resolved the problem for libcryptsetup-rs package themselves by specifying the clang_macro_fallback_build_dir. But that does not appear to be working when we use the packages for building stratisd.
.clang_macro_fallback()
.clang_macro_fallback_build_dir(PathBuf::from(env::var("OUT_DIR").unwrap()));