Fix issue for absolute baseDir on Windows