Require minimum gcc version to be 4.8.1.

This version supports all of the used c++11 features.

The required changes to travis are not implemented yet. @bilke Would you please have a look on this, and tell if changes to travis are possible?