Fixed constant case issue on OS X.