Fixed some makefiles