diff --git a/Makefile b/Makefile
index 9605b9aa6b14b661d2e4d92614db80ef248fadd0..403b21c9368de2b4e007e9d30984a8a96939bf23 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,9 @@ SO_FLAGS 			:= -shared
 # To create python shared library
 PY_EXEC 			:= python3
 PY_SETUP 			:= setup.py
-PY_OPTIONS 			:= build_ext --inplace
+PY_OPTIONS 			:= build_ext --build-lib $(TARGET_LIB_DIR)
+
+# PY_OPTIONS 			:= build_ext --inplace --
 # maybe pass argument from here to the setup.py?
 
 all: