Support gcc-4.9 features. Fix doc typos