converted vulcanize to stdio-when-needed library and utility