configure: generalise 64-bit test