Pass the build_dir to the custom prepare script