Fix makefile for non-Windows systems