Fix codec installation detection