use platform_path for windows host directory path