Support g++-4.6 and travis CI server.

A bit of glue code to allow use of g++ 4.6, and use of the travis CI build/test server.