fix building on android

stumbled upon this while bumping kodi depends. 
This fixes building on android, did not runtime test nfs-ls though.