Fixes for Windows root path support