Implement normalize_path for Linux and Android