Add platform variables to globals and add -i option to expand when
running on linux.