Replace autoconf int max test with simple define