set MACOSX_RPATH to ON