diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ ext_modules=[
 if use_cython:
     from Cython.Build import cythonize
     try:
-        ext_modules = cythonize(join('pybasicbayes','**','*.pyx'))
+        ext_modules = cythonize(os.path.join('pybasicbayes','**','*.pyx'))
     except:
         warn('Failed to generate extension module code from Cython files')
 
diff --git a/tests/test_gammadirichlet.py b/tests/test_gammadirichlet.py
index <HASH>..<HASH> 100644
--- a/tests/test_gammadirichlet.py
+++ b/tests/test_gammadirichlet.py
@@ -8,7 +8,7 @@ from nose.plugins.attrib import attr
 import pybasicbayes.distributions as distributions
 
 
-@attr('GammaCompoundDirichlet')
+@attr('GammaCompoundDirichlet', 'slow')
 class TestDirichletCompoundGamma(object):
     def test_weaklimit(self):
         a = distributions.CRP(10,1)
mark test_gammadirichlet as slow, fix os.path.join in setup.py