Makefile: fix build for GCC 4.9