Move C specific setup stuff out of common-mode-hook