fix issues with makefile