Updated makefile to be more multiplatform