Add check for 'file' command which is necessary for 32-bit userspace detection.

Without 'file' it assumes a 32 bit userspace even with a 64 bit kernel, which is incorrect in most cases.