diff --git a/setup.py b/setup.py
index 9b2e77cac374002a061461364c90ea9819b6d60f..20b55a75da593522e51b8e21f5b3ed0e7402dea6 100644
--- a/setup.py
+++ b/setup.py
@@ -120,10 +120,10 @@ BINARY_C_PYTHON_API_MODULE = Extension(
     # name="binarycpython.core.binary_c",
     name="binary_c_python_api",
     sources=["src/binary_c_python.c"],
-    INCLUDE_DIRS=INCLUDE_DIRS,
-    LIBRARIES=LIBRARIES,
-    LIBRARY_DIRS=LIBRARY_DIRS,
-    RUNTIME_LIBRARY_DIRS=RUNTIME_LIBRARY_DIRS,
+    include_dirs=INCLUDE_DIRS,
+    libraries=LIBRARIES,
+    library_dirs=LIBRARY_DIRS,
+    runtime_library_dirs=RUNTIME_LIBRARY_DIRS, 
     define_macros=[] + BINARY_C_DEFINE_MACROS,
     extra_objects=[],
     extra_compile_args=[],