Improve detection of unistd_32.h and building when on IA32