make redis module work correct on ubuntu.