diff --git a/cbits/HsUnixCompat.c b/cbits/HsUnixCompat.c
--- a/cbits/HsUnixCompat.c
+++ b/cbits/HsUnixCompat.c
@@ -2,7 +2,7 @@
 
 #ifdef SOLARIS
 #include <sys/mkdev.h>
-#elif defined(__GLIBC__)
+#elif defined(__linux__)
 #include <sys/sysmacros.h>
 #endif
 
diff --git a/unix-compat.cabal b/unix-compat.cabal
--- a/unix-compat.cabal
+++ b/unix-compat.cabal
@@ -1,12 +1,12 @@
 name:           unix-compat
-version:        0.5.1
+version:        0.5.2
 synopsis:       Portable POSIX-compatibility layer.
 description:    This package provides portable implementations of parts
                 of the unix package. This package re-exports the unix
                 package when available. When it isn't available,
                 portable implementations are used.
 
-homepage:       http://github.com/jystic/unix-compat
+homepage:       http://github.com/jacobstanley/unix-compat
 license:        BSD3
 license-file:   LICENSE
 author:         Björn Bringert, Duncan Coutts, Jacob Stanley, Bryan O'Sullivan
@@ -17,7 +17,7 @@
 
 source-repository head
   type:     git
-  location: git://github.com/jystic/unix-compat.git
+  location: git://github.com/jacobstanley/unix-compat.git
 
 flag old-time
   description: build against old-time package
