Fix for if you're running an X server inside of OS X.