Fix for older python installs