Makefile changes (redirection didn't work on linux)