Removing unused variable, fixing makefile.