Fixed gcc compilation 4.8
Updated config.
Fixing warning enhancements.