Try using rpath only for unix.