Move variables into os specific blocks.