fixed problem in Makefile that prevented successful compiling with newer compilers