Modified the Makefile to simplify compilation on different systems