fixes for makefile