Type restructuring for C++98 and build configuration updates. This version compiles successfully, but without webm libraries yet linked in.