Fix trial builds