PROTON-2208: Final (hopefully) fixes to get RHEL6/7 to compile
diff --git a/c/tests/fuzz/CMakeLists.txt b/c/tests/fuzz/CMakeLists.txt
index 4997e7e..c13edac 100644
--- a/c/tests/fuzz/CMakeLists.txt
+++ b/c/tests/fuzz/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-add_definitions(${COMPILE_WARNING_FLAGS})
+add_definitions(${C_STANDARD_FLAGS} ${COMPILE_WARNING_FLAGS})
 
 option(FUZZ_REGRESSION_TESTS "Run fuzz tests with regression test driver" ON)
 option(FUZZ_LONG_TESTS "Run fuzz tests that take a long time" OFF)
diff --git a/python/setup.py.in b/python/setup.py.in
index b7106bd..9fb607e 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -298,5 +298,5 @@
       # Configure class above
       ext_modules=[Extension('_cproton',
                              sources=['cproton_wrap.c'],
-                             extra_compile_args=['-pthread', '-DPROTON_DECLARE_STATIC'],
+                             extra_compile_args=['-DPROTON_DECLARE_STATIC'],
                              libraries=['qpid-proton-core'])])