fix dependencies for OS X