Remove LIBC constant and usage.
Use a function mapper to map stat, fstat, lstat to 64 bit variants on 32bit solaris