[code refactoring] added in needed dependency checks for ogg