move check for samplerate.h to before conf.sub_config('common') and remove the duplicate check in common