Added logic so the compiler may be changed on APPLE