Add ls flags depending on the current platform