compilation fixes
makefile fix