buildfix g++: makefile fix