Added platform switches.

Now to test on linux vm.