Add a few missing prepare_* calls (needed when building for MCJTI)