gcc 4.9 compatibility fixes