fixed makefile errors