I am not sure how to detect running on 32bit, especially in the case that it's 32bit userspace on 64bit kernel.