Fix Makefile to be cross platform