Update check for rtools 3.
Suggested by JJ Allaire