Make older python versions work