Fix for startup issue when using python 2.6