Fix for optimo with statx

Change-Id: If06259b882694ea60589f5eb8d11fefa8d89db55