Fixed makefile for newwer GCC versions.