Makefile: add support for gcc 4.9.x

Conflicts:
	Makefile

Change-Id: I1aea1a5cabd826f5c72e305ddda1e12ae2ec4f34