Updated to work with new rsync.h defines.