Moved some linux-only logic from travis config to script.

I realize this was the case before but seems really odd to alias this. Is setting CC/CXX below not sufficient?