sox: enable most optional libraries

Enables libpng (for writing spectrograms), libmagic/file, LADSPA plugins, AMR-NB/AMR-WB codecs.