updated various typedef enums to be friendlier with compiling against modern SDKs