added OS detection

stil trying to get afconvert to work under mac