removed dirname from Makefile.win