Android/etc. buildfix.

I keep thinking enums can be forward declared... and MSVC allows it.