fixed build errors from refactored Red5 classes