Programming for portability between ILP32 and LP64