diff --git a/bob/devtools/constants.py b/bob/devtools/constants.py
index c8ba2185d60973e99b820689a849a638cb9f85c0..3270336a7f154b8887556856b3a57a5eae69f057 100644
--- a/bob/devtools/constants.py
+++ b/bob/devtools/constants.py
@@ -127,6 +127,6 @@ MATPLOTLIB_RCDIR = pkg_resources.resource_filename(__name__, "data")
 It is required for certain builds that use matplotlib functionality.
 """
 
-BOBRC_PATH = pkg_resources.resource_filename(__name__, "data", "bobrc")
+BOBRC_PATH = pkg_resources.resource_filename(__name__, os.path.join("data", "bobrc"))
 """The path to custom Bob configuration file to be used during the CI
 """