Updated makefile for non windows platforms.