diff --git a/Dockerfile b/Dockerfile
index a7adbc48a86ec25aab6eb0f4c990df631beb00de..c2662aff1a1090b68a9250350709e594610b20f8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:18.04
+FROM ubuntu:20.04
 ENV SRC /home/tester/src
 ENV DEBIAN_FRONTEND noninteractive
 
@@ -10,7 +10,7 @@ RUN apt-get update -y && apt-get install -qy \
         python3 \
         python-dev \
         python3-dev \
-        python-pip \
+        python3-pip \
         librocksdb-dev \
         libsnappy-dev \
         zlib1g-dev \
@@ -24,10 +24,19 @@ RUN update-locale
 RUN locale-gen $LANG
 
 #NOTE(sileht): Upgrade python dev tools
-RUN pip install -U pip tox virtualenv
+RUN pip3 install -U pip tox virtualenv setuptools pytest Cython
 
-RUN groupadd --gid 2000 tester
-RUN useradd --uid 2000 --gid 2000 --create-home --shell /bin/bash tester
-USER tester
+# Set username same as generic default username. Allows output build to be available to same user
+ENV USER_NAME ubuntu
 
-WORKDIR $SRC
+ARG host_uid=1001
+ARG host_gid=1001
+RUN groupadd -g $host_gid $USER_NAME && \
+    useradd -g $host_gid -m -s /bin/bash -u $host_uid $USER_NAME
+
+USER $USER_NAME
+
+ENV BUILD_INPUT_DIR /home/$USER_NAME/workspace
+RUN mkdir -p $BUILD_INPUT_DIR
+
+WORKDIR $BUILD_INPUT_DIR
diff --git a/pyproject.toml b/pyproject.toml
index 9787c3bdf008a57ae3cb2e27a8261eb3f134ff73..6d1b4c5b6fb56a63069147e3a1de922ce71a45d8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel"]
+requires = ["setuptools", "wheel", "cython"]
 build-backend = "setuptools.build_meta"
diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx
index 7a6c61a9689afa62ea547f8bca2736940a1f3d75..618586e1ba7ec2c464e8e361ba1afa0838fd8b86 100644
--- a/rocksdb/_rocksdb.pyx
+++ b/rocksdb/_rocksdb.pyx
@@ -590,7 +590,6 @@ cdef class BlockBasedTableFactory(PyTableFactory):
             block_size_deviation=None,
             block_restart_interval=None,
             whole_key_filtering=None,
-            enable_index_compression=None,
             cache_index_and_filter_blocks=None,
             format_version=None,
         ):
@@ -643,12 +642,6 @@ cdef class BlockBasedTableFactory(PyTableFactory):
             else:
                 table_options.whole_key_filtering = False
 
-        if enable_index_compression is not None:
-            if enable_index_compression:
-                table_options.enable_index_compression = True
-            else:
-                table_options.enable_index_compression = False
-
         if cache_index_and_filter_blocks is not None:
             if cache_index_and_filter_blocks:
                 table_options.cache_index_and_filter_blocks = True
@@ -1365,12 +1358,6 @@ cdef class Options(ColumnFamilyOptions):
         def __set__(self, value):
             self.opts.max_background_compactions = value
 
-    property stats_history_buffer_size:
-        def __get__(self):
-            return self.opts.stats_history_buffer_size
-        def __set__(self, value):
-            self.opts.stats_history_buffer_size = value
-
     property max_background_jobs:
         def __get__(self):
             return self.opts.max_background_jobs
diff --git a/setup.cfg b/setup.cfg
index 941785c9bd82b38952e79f1f3c27911c0feb6fb7..154eaa13037e88217f6f3cbde65b99b9126f22ca 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,9 +29,6 @@ package_dir =
     rocksdb = rocksdb
 include_package_data = True
 zip_safe = False
-setup_requires =
-    cython >= 0.20
-    setuptools >= 25
 install_requires =
     setuptools >= 25
 test_require =
diff --git a/tox.ini b/tox.ini
index 917b6eeea0ece10a16bfb50b74fe8f72109eaf57..a25ec96c126c50133833d843249e2465288b3d05 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,14 +1,10 @@
 [tox]
 envlist = py35,py36,py37,py38,py39
 minversion = 2.0
-skipsdist = True
 
 [testenv]
-#skip_install = True
-#deps =
-#    -e
-#    .[test]
-commands = pytest-3 {posargs:rocksdb/tests}
+deps = pytest
+commands = pytest {posargs:rocksdb/tests}
 
 [testenv:docs]
 deps = .[doc]