Build on OS X without linking to X libraries.