x265: refactored to generic, fixed version numbers