fixing makefile so that it builds properly on Linux.