build: Adding a check for Darwin when adding avrdude.conf's flag for uploading.