Fixed RPATH setting in Mac OS X