add gcc4.9 support