General Performance Improve

I hack this when i am trying to get rtl-sdr running in a beaglebone black.