Basic helpers needed on Windows