Fix gcc-4.9.0 warnings