uptimized for windows
major update of makefile and utils