Changed to use gcc-4.8 for Travis on Linux.
Moved compiler export to appropriate place.
Added back CXX.
Merge pull request #185 from murrekatt/develop

Changed to use gcc-4.8 for Travis on Linux