On some operating systems, MAX is defined. Call ours OSSL_MAX instead