diff --git a/README.md b/README.md
index 3f11b5cdaa150548d473fd95d5b271ab90195d37..244b343fb14a94ceea992f227fcd1068fb61bb38 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,7 @@ cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release
 make -j8
 
 # set path and test that you can see modcc
-export PATH=`pwd`/bin:$PATH
+export PATH=`pwd`/modcc:$PATH
 which modcc
 ```
 
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7036ee30616a0941bb0b1cf95e84dfff1a5d16e1..97638a34f782bed57cd394e38fbec014363363a6 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -14,7 +14,10 @@ add_subdirectory(global_communication)
 add_subdirectory(performance)
 
 # modcc tests
-add_subdirectory(modcc)
+if(NOT use_external_modcc)
+    add_subdirectory(modcc)
+endif()
+
 
 # Proposed additional test types: