use raw mode when preprocessing shims