warning fixes
makefile updates