Fixed INSTALL_NAME_DIR for MacOS X.