Mac OS X: define MAX macro if not already defined.