Added missing constants and types for OS X.