fix for get_real_path on Windows