updated compile_orc_i so that it will extract an orch from a csd if needed