diff --git a/src/core/core.pro b/src/core/core.pro
index 7f19a48ce93a4646f35e4e71d7697a15ff4e6899..7ddad4ed6336cc8b5e46837e5c615b36c246f0ef 100644
--- a/src/core/core.pro
+++ b/src/core/core.pro
@@ -15,10 +15,7 @@ core_api.depends = gyp_run
 core_module.file = core_module.pro
 core_module.depends = core_api
 
-SUBDIRS += core_gyp_generator \
-           gyp_run \
-           core_api \
-           core_module
+SUBDIRS += core_gyp_generator
 
 !win32 {
     # gyp_configure_host.pro and gyp_configure_target.pro are phony pro files that
@@ -32,3 +29,7 @@ SUBDIRS += core_gyp_generator \
     gyp_run.depends += gyp_configure_host gyp_configure_target
     SUBDIRS += gyp_configure_host gyp_configure_target
 }
+
+SUBDIRS += gyp_run \
+           core_api \
+           core_module