Fix for issue 'Roots does not compile correctly on windows'.

I didn't have much experience with github and regex, but I hope I did it all right. :)