Use g++-4.8 on travis, restructure setup scripts