fix mistakes in .mk files, Makefile was fixed