Fix the libPath for OS X.