rewrite imports to use third_party packages directly