Edited makefile so that it detects what compiler is loaded and adjusts CFLAGS appropriately