UBI: Fix problem in UBI/Linux "compatibility layer"