Disabled warnings in makefile, some minor fixes