diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 3bf9be7..544bf5b 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -267,7 +267,7 @@ cfgdefs_perform_common_tests()
 	cfgtest_comment 'ncurses/ncursesw'
 	mb_cfgtest_headers='ncurses.h'
 
-	if [ $mb_cfgtest_cfgtype = 'target' ]; then
+	if [ $mb_cfgtest_cfgtype = 'host' ]; then
 		mb_cfgtest_makevar='CFLAGS_NCURSES'
 	else
 		mb_cfgtest_makevar='NATIVE_CFLAGS'
diff --git a/project/config/cfghost.sh b/project/config/cfghost.sh
index 563ccac..f207f60 100644
--- a/project/config/cfghost.sh
+++ b/project/config/cfghost.sh
@@ -31,7 +31,7 @@ cfghost_internal_test()
 		esac
 	fi
 
-	if [ $mb_internal_cfgtype = 'target' ]; then
+	if [ $mb_internal_cfgtype = 'host' ]; then
 		mb_cfghost="$mb_internal_cfghost"
 	else
 		mb_native_cfghost="$mb_internal_cfghost"
@@ -42,7 +42,7 @@ cfghost_set_target_cfghost()
 {
 	mb_internal_cchost="$mb_cchost"
 	mb_internal_cfghost="$mb_cfghost"
-	mb_internal_cfgtype='target'
+	mb_internal_cfgtype='host'
 
 	cfghost_internal_test
 }