Improved rtools detection on windws

Fixes #214