Makefile: add support for gcc 4.9.x

Conflicts:
	Makefile

Change-Id: I7df4abb997d1bdbda9d4ae85dcce4eb0a2c196ab