use x-platform flags for ln command