Fix non-native lstat impl release