you need SDL_mixer.h for sure, if libmad is intergrating into SDL_mixer that may be the only file you need.
You shouldnt be using command as in console in your application. You only need function calls. My best guess is that you can use Load_WAV and when you pass the file it then picks libmad if its the correct format.