Why not follow IBM's lead with AIX? All calls made to lseek() are automatically 64bit at the kernel level. No recompilation necessary.
Basically, make it completely transparent to the application.
lseek and lseek64, scan and scan64,etc should always be 64bit. that way, no one needs to worry about compiling for >2gb files.