First attempt at a generic x-platform build setup script for travis.
Executable.
Switch travis.yml to x-plat pre-build script.