Added detection for windows/linux for makefile