Fix dependencies for OS X