fix gcc error, update travis file