Use -R linker flag instead of -rpath on Solaris