move thin to runtime dependency