Fix for Bug 3550 (R models on Windows)

http://pele.farmbio.uu.se/bugzilla/show_bug.cgi?id=3550