Replace hackish CFLAGS 64 bit test by a proper compilation check.