nowarn: use <limits.h> instead of configure for size of long

This makes the header file much more multi-arch friendly and can be used
as-is with both 32 bit and 64 bit builds.