Fix issue #306: undefined method self.build().
Fix issue #343: 'MediaServer' has no attribute 'content_directory_server'.