make samplerate lib nonmandatory