Text library compiles on OS X